package com.daoxiang.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class JumpController {

    // 前台页面
    @RequestMapping("/")
    public String jumpReceptionIndex() {
        return "reception/index";
    }

    @RequestMapping("reception_login")
    public String jumpReceptionLogin() {
        return "reception/login";
    }

    @RequestMapping("baseInfoSet")
    public String jumpBaseInfoSet() {
        return "reception/baseInfoSet";
    }

    @RequestMapping("fruit")
    public String jumpFruit() {
        return "reception/fruit";
    }

    @RequestMapping("register")
    public String jumpRegister() {
        return "reception/register";
    }

    @RequestMapping("register_result")
    public String jumpRegister_result() {
        return "reception/register_result";
    }

    @RequestMapping("register_user_list")
    public String jumpRegister_user_list() {
        return "reception/register_user_list";
    }

    @RequestMapping("shoppingCar")
    public String jumpShoppingCar() {
        return "reception/shoppingCar";
    }

    @RequestMapping("showcart")
    public String jumpShowcart() {
        return "reception/showcart";
    }

    // 后台页面
    // 管理员登录
    @RequestMapping("bs_login")
    public String jumpBackstageLogin() {
        return "backstage/index";
    }

}
